﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace OODCRM.Dialogs
{
    /// <summary>
    /// Interaction logic for ToChucDialog.xaml
    /// </summary>
    public partial class ToChucDialog : Window
    {
        private TOCHUC myToChuc = new TOCHUC();
        public TOCHUC MyToChuc
        {
            get { return myToChuc; }
            set { myToChuc = value; }
        }

        //private List<PHANLOAISANPHAM> myPhanLoais = new List<PHANLOAISANPHAM>();
        //public List<PHANLOAISANPHAM> MyPhanLoais
        //{
        //    get { return myPhanLoais; }
        //    set { myPhanLoais = value; }
        //}

       

       
        public ToChucDialog()
        {           
            InitializeComponent();
            this.Loaded += new RoutedEventHandler(ToChucDialog_Loaded);        
        }
        void ToChucDialog_Loaded(object sender, RoutedEventArgs e)
        {
            this.DataContext = MyToChuc;
           // this.cbxPhanLoai.ItemsSource = MyPhanLoais;
        }
    }
}
